package com.bdqn.mapper.SysRoles.impl;

import com.bdqn.Service.SysRoles.SysRolesService;
import com.bdqn.entity.SysRoles;
import com.bdqn.mapper.SysRoles.SysRolesMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class SysRolesServiceImpl implements SysRolesService {
    @Autowired
    SysRolesMapper rolesMapper;
    @Override
    public List<SysRoles> findByUserName(String loginId) {
        return rolesMapper.findByUserName(loginId);
    }
}
